package cn.myjerry.chainOfResp;

/**
 * 抽象类
 * @author Jerry
 *
 */
public abstract class Leader {
	protected String Name;
	protected Leader NextLeader;
	public Leader(String name) {
		super();
		Name = name;
	}
	public void setNextLeader(Leader nextLeader) {
		NextLeader = nextLeader;
	}
	public abstract void handleRequest(LeaveRequest req);
}
